package com.qidian.mes.produce.service;

import com.qidian.common.pojo.MESResult;
import com.qidian.mes.pojo.WorkOrder;

import java.util.List;

public interface WorkOrderService {
    MESResult queryList(WorkOrder workOrder,int page,int limit);
    MESResult addWorkOrder(WorkOrder workOrder);

    MESResult getPrimary(int workOrderRelId);

    MESResult primary(WorkOrder workOrder);
    MESResult surePrimary(WorkOrder workOrder);

    MESResult deleteWorkOrder(int workOrderRelId);
    MESResult deleteWorkOrders(List<WorkOrder> workOrders);
}
